<?php
class AppGlobal
{
	private static $_models = array();
	
	public static function loadModel($model)
	{
		$model = ucfirst($model);
		if (!isset(self::$_models[$model])) 
		{
			Zend_Loader::loadClass($model, APPLICATION_PATH . "/models");
			self::$_models[$model] = new $model();
		}
		return self::$_models[$model];
	}
	
}
?>